package bit.book.service;

import bit.book.entity.UserInfo;
import bit.book.mapper.UserInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserInfoMapper userInfoMapper;


    public UserInfo queryUserByName(String userName) {
        return userInfoMapper.getUserInfoByName(userName);
    }
}
